package com.scalpel.Interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * Created by scalpel on 2017/1/20.
 */
public class ProductInterceptor implements Interceptor {
    public void intercept(Invocation inv) {
        System.out.println("Before action invoking");
        inv.invoke();
        System.out.println("After action invoking");
    }
}
